<%-- 
    Document   : panier
    Created on : 28 mai 2012, 17:13:24
    Author     : Julien Bellaiche
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 

<div id="panier">
    <div id="cart">
        <a href="http://localhost:8080/miniProjetDVD/ServletPanier?action=afficherPanier">
           <img src="includes/images/cart.png"/>
        </a>
        
        
        <div id="list-panier" style="width: 200px;height: 200px;background-color: 'blue';">
            <c:forEach var="u" items="${sessionScope['panier']}">  
                <div>
                <div>${u.titre}</div>
                <img src="${u.pochette}" WIDTH="70" HEIGHT="100"/>              
                <div>


            </c:forEach>  
            <%if (session.getAttribute("panier") != null){ %>
            <div>
                <h1>TOTAL : <%=session.getAttribute("total")%></h1>
                <%}%>
            </div>
        </div>
    </div>